package com.upf1sh.bean;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

@TableName("file")
public class FileEntity implements Serializable {
    private int id;
    private LocalDateTime date;
    private String name;

    public double getSize() {
        return size;
    }

    public void setSize(double size) {
        this.size = size;
    }

    private String path;

    private double size;

    @Override
    public String toString() {
        return "File_entity{" +
                "id=" + id +
                ", date=" + date +
                ", name='" + name + '\'' +
                ", path='" + path + '\'' +
                ", size=" + size +
                ", belong='" + belong + '\'' +
                ", type='" + type + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public LocalDateTime getDate() {
        return date;
    }

    public void setDate(LocalDateTime date) {
        this.date = date;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getBelong() {
        return belong;
    }

    public void setBelong(String belong) {
        this.belong = belong;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    private String belong;
    private String type;
}
